package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

//试题分数记录表
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document(collection = "record_question")
public class RecordQuestion implements Serializable {
    private ObjectId id;
    //用户id
    private Long userId;
    //等级id
    private String sid;
    //每一项的分数
    private Integer score;
}
